package com.gxwz.document.business.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import com.gxwz.document.business.dao.IuserRoleDao;
import com.gxwz.document.business.entity.UserRole;
import com.gxwz.document.core.dao.impl.BaseDaoImpl;

@Repository("userRoleDao")
public class UserRoleDaoImpl extends BaseDaoImpl<UserRole> implements IuserRoleDao {

	@Override
	public List<UserRole> findAll() {
		String hql = "from UserRole where 1=1";
		return this.find(hql);
	}

	@Override
	public List<UserRole> findbyOrder(UserRole userRole, int index, int pageSize) {
		return null;
	
	}
	

}
 